package com.qijian.maindata.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qijian.maindata.domain.BomMaterialDetail;
import org.apache.ibatis.annotations.Select;

/**
 * 生产BOM用料明细Mapper接口
 *
 * @author qijian
 * @date 2022-05-16
 */
public interface BomMaterialDetailMapper extends BaseMapper<BomMaterialDetail> {

    @Select("select count(0) from main_bom_material_detail WHERE create_time >= CURRENT_DATE ")
    int countCurrentDateWithDel();
}
